
const state = {
  flow_id: ''
};

const mutations = {
  FLOW_ID: (state, device) => {
    state.flow_id = device;
  }
};

const actions = {
  getFlowId({ commit }, device) {
    console.log("device",device);
    commit('FLOW_ID', device.flowId);
  },
  clearFlowId({ commit }) {
    commit('FLOW_ID', '');
  },
};

export default {
  state,
  mutations,
  actions
};
